package com.lw.service;

import com.lw.entity.ImageTable;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface FileUploadService {
    //图片上传
    int uploadImage(MultipartFile file, HttpServletRequest request);

    //多图上传
    int uploadImages(MultipartFile[] files, HttpServletRequest request);

    //单图查询（单图下载）
    ImageTable getImage(String imageName);
}
